package com.yzzrjy.Service;

import com.yzzrjy.Dao.Impl.ConfigDaoMsql;
import com.yzzrjy.Dao.Interfaces.ConfigDao;
import com.yzzrjy.bean.ServerConfigBean;

import java.sql.SQLException;

public class ConfigService {
    private ConfigDao configDao= new ConfigDaoMsql();

    public ServerConfigBean getServerConfig(int id) throws SQLException {
        return configDao.getServerConfig(id);
    }
}
